/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.guobo.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.guobo.entity.ExhHall;
import com.thinkgem.jeesite.modules.guobo.dao.ExhHallDao;

/**
 * 展馆Service
 * @author wudavid
 * @version 2017-03-09
 */
@Service
@Transactional(readOnly = true)
public class ExhHallService extends CrudService<ExhHallDao, ExhHall> {

	public ExhHall get(String id) {
		return super.get(id);
	}
	
	public List<ExhHall> findList(ExhHall exhHall) {
		return super.findList(exhHall);
	}
	
	public Page<ExhHall> findPage(Page<ExhHall> page, ExhHall exhHall) {
		return super.findPage(page, exhHall);
	}
	
	@Transactional(readOnly = false)
	public void save(ExhHall exhHall) {
		super.save(exhHall);
	}
	
	@Transactional(readOnly = false)
	public void delete(ExhHall exhHall) {
		super.delete(exhHall);
	}
	
	public List<ExhHall> findAllExhHall(){
		return dao.findAllExhHall();
	}
	
	public List<ExhHall> findExhHallByRegionId(String regionId){
		return dao.findAllExhHallByRegion(regionId);
	}
}